Keybinding to focus the active notification.
</_description>
</key>
+ <key name="pause-resume-tweens" type="as">
+ <default>[]</default>
+ <summary>Keybinding that pauses and resumes all running tweens, for debugging purposes</summary>
+ <description></description>
+ </key>
</schema>
<schema id="org.gnome.shell.keyboard" path="/org/gnome/shell/keyboard/"
Shell.KeyBindingMode.LOGIN_SCREEN,
Lang.bind(this, this._startA11ySwitcher));
+ this.addKeybinding('toggle-tweens',
+ new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }),
+ Meta.KeyBindingFlags.NONE,
+ Shell.KeyBindingMode.ALL,
+ Lang.bind(this, this._toggleTweens));
+
this.addKeybinding('open-application-menu',
new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }),
Meta.KeyBindingFlags.NONE,
Main.panel.toggleAppMenu();
},
+ _toggleTweens: function() {
+ this._tweensPaused = !this._tweensPaused;
+ const OrigTweener = imports.tweener.tweener;
+ if (this._tweensPaused)
+ OrigTweener.pauseAllTweens();
+ else
+ OrigTweener.resumeAllTweens();
+ },
+
_showWorkspaceSwitcher : function(display, screen, window, binding) {
if (!Main.sessionMode.hasWorkspaces)
return;